package assql
{
	public class asSQL
	{
		public static const VERSION_MAJOR:int = 1;
		public static const VERSION_MINOR:int = 0;
		public static const VERSION_REVISION:int = 0;
		
		public static function get VERSION():String {
			return VERSION_MAJOR + "." + VERSION_MINOR + "." + VERSION_REVISION;
		}
		
		public static function meetsMinimum(mjr:int, mnr:int, rvn:int):Boolean {
			if ( VERSION_MAJOR >= mjr )
		    {
		        if ( VERSION_MAJOR == mjr )
		        {
		            if ( VERSION_MINOR >= mnr )
		            {
		                if ( VERSION_MINOR == mnr )
		                {
		                    return (VERSION_REVISION >= rvn );
		                }
		                return true;
		            }
		            return false;
		        }
		        return true;
		    }
		    return false;
		}
	}
}